<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>职位管理</title>
    <link rel="shortcut icon" th:href="@{/img/favicon.ico}"/>
    <link rel="bookmark" th:href="@{/img/favicon.ico}" type="image/x-icon"/>
    <link th:href="@{/css/style.css}" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" th:src="@{/laydate/laydate.js}"></script>
</head>

<body>
<div class="place"><span>位置：</span>
    <ul class="placeul">
        <li><a th:href="@{/sys/users/userall}">系统管理</a></li>
        <li><a th:href="@{/sys/position/positionList}">职位管理</a></li>
        <li><a href="#">添加</a></li>
    </ul>
</div>
<div class="formbody">
    <div class="formtitle"><span>职位信息</span></div>
    <form th:action="@{/sys/position/addJob}" method="post">
    <ul class="forminfo">
        <li>
            <label>职位名称</label>
            <input name="jobName" type="text" class="dfinput"/>
            <i>必填，不能超过30个字符</i>
        </li>
        <li><label>所属部门：</label>
            <select class="dfselect" name="jobDeptId">
                <option value="">请选择部门</option>
                <option th:each="d:${session.depts}"
                        th:value="${d.deptId}" th:text="${d.deptName}">研发</option>
            </select>
        </li>
        <li>
            <input type="hidden" name="jobState" value="1"/>
        </li>
        <li>
            <label>&nbsp;</label>
            <input name="" type="submit" class="btn" value="确认保存"/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input name="" type="button" class="btn" value="返回" onclick="window.history.go(-1);"/>
        </li>
    </ul>
    </form>
</div>
</body>
</html>
